package com.example.obtaingaode.util;

import com.blankj.utilcode.util.SPUtils;

/**
 * Created by Ma.Chong on 2017/10/17.
 */

public class ConfigInfomation {
    public static final String S_KEY_BASE_URL="sKeyBaseUrl";
    public static void saveBaseUrl(String baseurl){
        SPUtils.getInstance("ConfigInfomation").put(S_KEY_BASE_URL,baseurl);
    }

    public  static String getBaseUrl(String defaultStr)
    {
        return  SPUtils.getInstance("ConfigInfomation").getString(S_KEY_BASE_URL,defaultStr);
    }
}
